-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.x] Various metrics test improvements to avoid intermittent failures #5611
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you maybe change the retry matcher not to throw an interrupted exception, but to call fail(interruptedException)
or throw a runtime exception?
I don't think we need to handle InterruptedException in any specific way, so it may be easier to have no checked exception at all (and in the end less code in our tests)
…just method sigs of call sites
Changed |
…terruptedException any more
Resolves #5345 (at least partially)
I reviewed all the metrics tests. I found some places to improve, but I did not identify specific causes for two of the failures Tomas described in the issue. They are certainly not simply "retry" problems.
I will continue looking into those, but I did not want to delay these improvements.